package com.yunji.framework_template.books.orm.persistence.mapper;

import com.yunji.framework_template.books.orm.persistence.model.BooksUserRead;
import com.yunji.framework_template.common.web.Page;
import java.util.List;

public interface BooksUserReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BooksUserRead record);

    int insertSelective(BooksUserRead record);

    BooksUserRead selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BooksUserRead record);

    int updateByPrimaryKey(BooksUserRead record);

    List<BooksUserRead> selectByCondition(BooksUserRead record);

    List<BooksUserRead> selectAll();

    List<BooksUserRead> selectByPage(Page page);

    Integer count(BooksUserRead record);

    int deleteByCondition(BooksUserRead record);
}